package thesis.prototype.objects;

import java.util.ArrayList;

public class Meeting {

	private String organizer;
	private String location;
	private String agenda;
	private String timedate;
	private String meeting_id;
	private ArrayList<Attendee> attendees;
	
	public Meeting(String meeting_id, String organizer, String location, String agenda, String datetime){
		this.meeting_id = meeting_id;
		this.organizer = organizer;
		this.location = location;
		this.agenda = agenda;
		this.timedate = datetime;
	}
	
	public void addAttendee(Attendee at){
		attendees.add(at);
	}
	
	public ArrayList<Attendee> getAttendees(){
		return attendees;
	}

	public String getOrganizer() {
		return organizer;
	}

	public void setOrganizer(String organizer) {
		this.organizer = organizer;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getAgenda() {
		return agenda;
	}

	public void setAgenda(String agenda) {
		this.agenda = agenda;
	}

	public String getTimedate() {
		return timedate;
	}

	public void setTimedate(String timedate) {
		this.timedate = timedate;
	}

	public String getMeeting_id() {
		return meeting_id;
	}

	public void setMeeting_id(String meeting_id) {
		this.meeting_id = meeting_id;
	}
	
	@Override
	public String toString()
	{
		return agenda + "\n" + organizer;
	}
}
